/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aptech.domain.model;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 *
 * @author Admin
 */
public class NewsDO implements Serializable {
    private Integer newsId;
    private AccountDO account;
    private NewsCategoryDO newsCategory;
    private String title;
    private String newsContent;
    private String newsDescription;
    private Timestamp createdDate;

    /**
     * @return the newsId
     */
    public Integer getNewsId() {
        return newsId;
    }

    /**
     * @param newsId the newsId to set
     */
    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    /**
     * @return the account
     */
    public AccountDO getAccount() {
        return account;
    }

    /**
     * @param account the account to set
     */
    public void setAccount(AccountDO account) {
        this.account = account;
    }

    /**
     * @return the newsCategory
     */
    public NewsCategoryDO getNewsCategory() {
        return newsCategory;
    }

    /**
     * @param newsCategory the newsCategory to set
     */
    public void setNewsCategory(NewsCategoryDO newsCategory) {
        this.newsCategory = newsCategory;
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the newsContent
     */
    public String getNewsContent() {
        return newsContent;
    }

    /**
     * @param newsContent the newsContent to set
     */
    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    /**
     * @return the newsDescription
     */
    public String getNewsDescription() {
        return newsDescription;
    }

    /**
     * @param newsDescription the newsDescription to set
     */
    public void setNewsDescription(String newsDescription) {
        this.newsDescription = newsDescription;
    }

    /**
     * @return the createdDate
     */
    public Timestamp getCreatedDate() {
        return createdDate;
    }

    /**
     * @param createdDate the createdDate to set
     */
    public void setCreatedDate(Timestamp createdDate) {
        this.createdDate = createdDate;
    }
}
